package com.grass.finding.mapper;

import com.grass.finding.model.domain.Lost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 20158
* @description 针对表【lost(被寻找人的信息)】的数据库操作Mapper
* @createDate 2023-02-21 22:35:30
* @Entity com.grass.finding.model.domain.lost
*/
@Mapper
public interface LostMapper extends BaseMapper<Lost> {

    List<Lost> selectPublishByOpenId(String openId);

    Lost selectPublishByLostId(int lostId);

    long deleteByLostId(Integer lostId);

    List<Lost> getPublish();
}




